QT       += core gui widgets

TARGET = textTexture
TEMPLATE = app

DESTDIR = $$PWD/bin

SOURCES += \
    controls/ControlBar.cpp \
    controls/FuncPane.cpp \
    controls/ScaleBar.cpp \
    drawable/GLBackGround.cpp \
    drawable/GLBillBoard.cpp \
    drawable/GLIcon.cpp \
    drawable/GLLine.cpp \
    drawable/GLRect.cpp \
    render/GLBillBoardRender.cpp \
    render/GLIconRender.cpp \
    render/GLLineRender.cpp \
	render/GLRenderComp.cpp \
    render/RenderController.cpp \
	render/ImageManager.cpp \
    src/GLWidget.cpp \
    src/main.cpp
    

HEADERS  += \
    controls/ControlBar.h \
    controls/FuncPane.h \
    controls/ScaleBar.h \
    drawable/GLBackGround.h \
    drawable/GLBillBoard.h \
    drawable/GLDrawable.h \
    drawable/GLIcon.h \
    drawable/GLLine.h \
    drawable/GLRect.h \
    render/GLBillBoardRender.h \
    render/GLIconRender.h \
    render/GLLineRender.h \
    render/RenderController.h \
	render/GLRenderComp.h \
	render/ImageManager.h \
    src/GLCommon.h \
    src/GLShaders.h \
    src/GLWidget.h \
    src/common.h
    

FORMS += \
    controls/ControlBar.ui \
    controls/FuncPane.ui \
    controls/ScaleBar.ui


INCLUDEPATH += $$PWD $$PWD/src $$PWD/render $$PWD/controls $$PWD/drawable

CONFIG += mobility utf8_source c++17
MOBILITY = 

RESOURCES += \
    res.qrc


CONFIG(debug,debug|release) {
    DEFINES +=  DEBUG_GL
} else {

}

